<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
$db['ivantextdetails']=array (
  'columns' =>
  array (  
    'id' =>
    array (
      'type' => 'int(10)',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'editable' => false,
      'label' => 'ID',
      'comment' => app::get('ome')->_('ID'),
    ),
    'ivantext_id' => 
    array (
      'type' => 'table:ivantext@ome',
      'required' => true,
      'default' => 0,
      'editable' => false,
    ),
    'bn' =>
    array (
      'type' => 'varchar(20)',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'Code',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('Code'),
    ),
    'name' =>
    array (
      'type' => 'varchar(20)',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'Name',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('Name'),
    ),
    'nums' =>
    array (
      'type' => 'number',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'nums',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('nums'),
    ),
    'price' =>
    array (
      'type' => 'money',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'price',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('price'),
    ),
    'amount' =>
    array (
      'type' => 'money',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'amount',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('amount'),
    ),
  ),
  'index' =>
     array (
         'ind_id' =>
         array (
             'columns' =>
             array (
                 0 => 'id',
             ),
         ),
   ),
  'comment' => app::get('ome')->_('Ivan测试文档'),
);
